home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global rValue
- if pushButton() then
- if selection() then
- set the text of field "selText" to the selection
- printText(field "selText")
- set rValue to "PrintSel"
- tell the stage
- forgetExp()
- end tell
- else
- alert("There is no text selected. Please select an area to print or click Print All to print the entire text box.")
- end if
- end if
- end
-